]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
theme: Normalize entry focus style
authornana-4 <hnmaigo@gmail.com>
Fri, 17 Jan 2020 11:17:59 +0000 (20:17 +0900)
committernana-4 <hnmaigo@gmail.com>
Fri, 17 Jan 2020 12:21:44 +0000 (12:21 +0000)
This fixes the focus style of the regular entry to match with the GTK
one.

This will allow removing a number of overrides of entries for
normalization.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/931

data/theme/gnome-shell-sass/_drawing.scss
data/theme/gnome-shell-sass/widgets/_entries.scss

index 03ce04353e6532e319947d5ea6512e91508695f9..3afacea67affd19d9c4f9a39b59331b55c779b75 100644 (file)
@@ -46,6 +46,7 @@
     border-color: if($fc==$selected_bg_color,
               $selected_borders_color,
               darken($fc,35%));
+    box-shadow: inset 0 0 0 1px $fc;
   }
   @if $t==hover { }
   @if $t==insensitive {
index 43abdc21427d3f7bce25d20c4024f35eee44518f..aa437aac930e8d7b81499e77f07a8b28bd93c81e 100644 (file)
@@ -7,7 +7,7 @@ StEntry {
   color: $fg_color;
   @include entry(normal);
   //&:hover { @include entry(hover);}
-  &:focus { @include entry(focus,$fc:transparentize($fg_color,0.5));}
+  &:focus { @include entry(focus);}
   &:insensitive { @include entry(insensitive);}
   selection-background-color: $selected_bg_color;
   selected-color: $selected_fg_color;